package com.macro.mall.dto.applet;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * Created by @author dabaoqiang on 2024/5/12.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AppletUpdateUserEmailDTO implements Serializable {

    private static final long serialVersionUID = 7389135768268799959L;

    @ApiModelProperty(value = "前端不用传，编号")
    private Long memberId;

    @ApiModelProperty(value = "邮箱")
    @NotEmpty(message = "邮箱不能为空!")
    private String userEmail;

}
